Is is possible in DXL to send a carriage return/new line(CR\NL) to Word?
copyToClipboard("\n")
but this does not work. Gedinfo - Wed Mar 20 12:55:32 EDT 2013 |
Re: Export text and OLE to Word newline\Carriage return question
Hi,
const string cMethodInsertParagraphAfter = "InsertParagraphAfter"
vbaCheckRes(oleMethod(objSel, cMethodInsertParagraphAfter))
|
Re: Export text and OLE to Word newline\Carriage return question adevicq - Wed Mar 20 13:07:57 EDT 2013
Hi,
const string cMethodInsertParagraphAfter = "InsertParagraphAfter"
vbaCheckRes(oleMethod(objSel, cMethodInsertParagraphAfter))
Thanks Alain, ... string strModule = m."Name" ... copyToClipboard(strModule) vbaCheckRes(oleMethod(oSelection, cMethodPaste)) vbaCheckRes(oleMethod(oSelection, cMethodInsertParagraphAfter)) // Does not matter if cMethodInsertParagraphAfter is called or not, same result. |
Re: Export text and OLE to Word newline\Carriage return question
Hi First Paragraph Second Paragraph
{\rtf1\ansi\deff0{\fonttbl{\f0\fnil\fcharset0 Courier New;}}
{\*\generator Msftedit 5.41.21.2510;}\viewkind4\uc1\pard\lang1031\f0\fs22 First Paragraph\par
Second Paragraph\par
\'00\par
}
|
Re: Export text and OLE to Word newline\Carriage return question SystemAdmin - Wed Mar 20 14:25:50 EDT 2013
Hi First Paragraph Second Paragraph
{\rtf1\ansi\deff0{\fonttbl{\f0\fnil\fcharset0 Courier New;}}
{\*\generator Msftedit 5.41.21.2510;}\viewkind4\uc1\pard\lang1031\f0\fs22 First Paragraph\par
Second Paragraph\par
\'00\par
}
See attachment for output. It does not matter if I use the paragraph method. Attachments attachment_14959246_Capture.PNG |
Re: Export text and OLE to Word newline\Carriage return question SystemAdmin - Wed Mar 20 14:25:50 EDT 2013
Hi First Paragraph Second Paragraph
{\rtf1\ansi\deff0{\fonttbl{\f0\fnil\fcharset0 Courier New;}}
{\*\generator Msftedit 5.41.21.2510;}\viewkind4\uc1\pard\lang1031\f0\fs22 First Paragraph\par
Second Paragraph\par
\'00\par
}
{\rtf1\ansi\deff0{\fonttbl{\f0\fnil\fcharset0 Courier New;}}
{\*\generator Msftedit 5.41.21.2510;}\viewkind4\uc1\pard\lang1031\f0\fs22 First Paragraph\par
Second Paragraph\par
}
|